import request from '@/utils/request'

// 获取门店列表
export function getStoreList(data) {
    return request({
        url: '/General/get_store',
        method: 'post',
        data: data
    })
}
// 今日及本月营收
export function incomeToday(data) {
    return request({
        url: '/Store_business_daily/store_business_objectives',
        method: 'post',
        data: data
    })
}
// 近七日营收
export function incomeTime(data) {
    return request({
        url: '/Store_business_daily/store_business_filtrate',
        method: 'post',
        data: data
    })
}
// 今日、本月消费
export function exToday(data) {
    return request({
        url: '/Situation_store_consumer_target/member_counts',
        method: 'post',
        data: data
    })
}
// 近七日消费
export function exTime(data) {
    return request({
        url: '/Situation_store_consumer_target/filtrate_member_counts',
        method: 'post',
        data: data
    })
}
// 机台盈利率异常排行
export function imChart(data) {
    return request({
        url: '/Situation_machine_profit/project_profit_rate_ranking',
        method: 'post',
        data: data
    })
}
// 腕带
export function wbChart(data) {
    return request({
        url: '/Statistic_player/get_player',
        method: 'post',
        data: data
    })
}
// 机台离线预警
export function olWarning(data) {
    return request({
        url: '/Situation_project_offline/project_offline_warning',
        method: 'post',
        data: data
    })
}
// 机台网络波动
export function networkF(data) {
    return request({
        url: '/Situation_project_offline/project_network_fluctuation',
        method: 'post',
        data: data
    })
}
// 权限
export function power(data) {
    return request({
        url: '/Group/homepage_auth',
        method: 'post',
        data: data
    })
}